package com.software.dao;

import java.util.List;

import com.software.model.DrmAgentImg;
import com.software.model.DrmAgentIntroduce;
import com.software.model.DrmArticles;
import com.software.model.DrmUser;
import com.software.model.PageModel;

/**
 * @author xuyg
 *
 */
public interface AgentDao {
	public Long queryArticlesCnt(PageModel vo);

	public List<DrmArticles> queryInfoList(PageModel vo);

	public DrmArticles queryInfoDetails(DrmArticles param);

	public int updateDrmArticlesDel(DrmArticles data);
	
	public int updateDrmArticlesheader(DrmArticles data);
	
	public int insertDrmArticles(DrmArticles data);
	
	public int updateDrmArticlesCnt(DrmArticles data);
	
	public DrmAgentIntroduce qrueyIntroduce(DrmAgentIntroduce data);
	
	public int insertIntroduce(DrmAgentIntroduce data);
	
	public int updateIntroduce(DrmAgentIntroduce data);
	
	public DrmUser queryAmountData(Long userId);

	public int insertDrmAgentImg(DrmAgentImg data);
	
	public Long queryImgCnt(PageModel data);
	
	public List<DrmAgentImg> queryImgList(PageModel data);
	
	public int updateImgDel(DrmAgentImg data);

	public List<DrmAgentImg> query5ImgList(PageModel vo);

	public DrmAgentImg queryImgOne(PageModel vo);
	
	public int insertDrmAgentImgLog(DrmAgentImg data);

	public int updateImgData(DrmAgentImg data);

	public int updateDrmArticles(DrmArticles data);
	
	
	
	
}